package com.wsr.fei.activity;

import java.util.Timer;
import java.util.TimerTask;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Window;

public class WelcomeActivity extends Activity{
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.activity_welcome);
		Timer time = new Timer();	
		time.schedule(task, 2500);
	}

	TimerTask task = new TimerTask() {
		public void run() {
			Intent it = new Intent(WelcomeActivity.this, MainActivity.class);
			startActivity(it);
			finish();
		}
	};


}
